package org.example.Day2;

public class Test {
    public static void main(String[] args){
        Animals a = new pig();
        a.setName("张航");
        a.cry();

    }
}
